home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / p / pov / povlisti.ngs / bounce.pov < prev    next >
Encoding:
Text File  |  1993-01-03  |  1.9 KB  |  122 lines

  1. // Persistence of Vision Raytracer
  2. #include "shapes.inc"         
  3. #include "colors.inc"
  4. #include "textures.inc"
  5.  
  6. #declare xlook=0
  7. #declare lrot=0
  8. #declare xview=0
  9. #declare zview= -180
  10.  
  11. #include "bounce.inc"
  12.  
  13. camera {
  14.         location <xview 30.0 zview>
  15.         up <0.0 1.0 0.0>
  16.         right <1.333 0.0 0.0>
  17.         look_at <xlook 40.0 0.0>
  18.  }
  19. object {
  20.     light_source {< 0 80 -180 >
  21.         colour White
  22.     }
  23. }
  24.  
  25. object {
  26.     sphere { <x1 y1 0> 10 }
  27.         texture {
  28.             reflection .2
  29.             color Gold
  30.         }
  31.         translate < 0 10 0>
  32. }
  33.  
  34. object {
  35.     sphere { <0 y2 0> 5 }
  36.         texture {
  37.             reflection .1
  38.             color Red
  39.         }
  40.         translate < 0 5 0>
  41. }
  42.  
  43. object {
  44.     sphere { <x3 y3 z3> 8 }
  45.         texture {
  46.             reflection .2
  47.             color Silver
  48.         }
  49.         translate < 0 8 0>
  50. }
  51.  
  52. object {
  53.     sphere { <-30 y4 30> 4 }
  54.         texture {
  55.             reflection .1
  56.             color Blue
  57.         }
  58.         translate < 0 4 0>
  59. }
  60.  
  61. object {
  62.     sphere { <-110 y5 70> 12 }
  63.         texture {
  64.             reflection .2
  65.             color Brass
  66.         }
  67.         translate < 0 12 0>
  68. }
  69.  
  70. object {
  71.     sphere { <50 y6 130> 30  }
  72.         texture {
  73.             reflection .1
  74.             color Aquamarine
  75.         }
  76.         translate < 0 30 0>
  77. }
  78.  
  79.  
  80. object {
  81.     sphere { <x7 y7 -30> 5 }
  82.         texture {
  83.             reflection .1
  84.             color Magenta
  85.         }
  86.         translate < 0 5 0>
  87. }
  88.  
  89.  
  90. object {
  91.     plane { <0.0 1.0 0.0> 0.0  }
  92.    
  93.          texture {
  94.               checker color White color Red
  95.               reflection 0.2
  96.              scale <15.0 15.0 15.0>
  97.           }
  98.  }
  99.  
  100. object { /* Sky */
  101.    sphere { <0 -39000 0> 40000 inverse  }
  102.  
  103.    texture {
  104.       bozo
  105.       turbulence 0.6
  106.       colour_map {
  107.          [0 0.5 colour red 0.4 green 0.5 blue 1
  108.                   colour red 0.4 green 0.5 blue 1.0]
  109.          [0.5 0.7 colour red 0.4 green 0.5 blue 1
  110.                   colour red 1 green 1 blue 1.0]
  111.          [0.7 1 colour red 1 green 1 blue 1
  112.                   colour red 0.7 green 0.7 blue 0.7]
  113.        }
  114.       scale <500 500 500>
  115.       ambient 1
  116.       diffuse 0
  117.     }
  118.  
  119.    colour red 0.4 green 0.5 blue 1
  120.  }
  121.  
  122.